package com.changgou.goods.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-08-22 0:21
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    //@RestController  //@controller,@responseBody

    @GetMapping("/test")
    public String demo(){
        return "demo message";
    }

}
